package com.tbit.main.service.impl;

import com.tbit.main.dao.core.RoleMenuDao;
import com.tbit.main.pojo.Menu;
import com.tbit.main.service.RoleMenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author LMY
 * @create 2022-07-28 10:49
 */
@Service("roleMenuService")
public class RoleMenuServiceImpl implements RoleMenuService {

    @Autowired
    private RoleMenuDao roleMenuDao;

    @Override
    public List<Menu> getRoleType(Integer roleId) {
        return roleMenuDao.getRoleType(roleId);
    }
}
